<?php $this->_Hhead()?>
<link href="/Public/Home/public/member_all_common.css" rel="stylesheet" type="text/css">
<link href="/Public/Home/public/member_user.css" rel="stylesheet" type="text/css">

<div class="container clearfix">
    <div id="ur_here">
        <a href="http://www.xiaolajiao.com/">首页</a> <code>&gt;</code> 用户中心
    </div>
    <?php $this->_Hleft()?>

    <div class="od-section left">
        <script type="text/javascript"
                src="http://theme.xiaolajiao.com/themes/newxlj/script/library/jquery-ui.js?v=20161118"></script>
        <script type="text/javascript"
                src="http://theme.xiaolajiao.com/themes/newxlj/script/public/utils.js?v=20161118"></script>
        <script type="text/javascript"
                src="http://theme.xiaolajiao.com/themes/newxlj/script/user.js?v=20161118"></script>
        <script type="text/javascript"
                src="http://theme.xiaolajiao.com/themes/newxlj/script/public/address.js?v=20161118"></script>
        <h4>
            <span class="left">订单号：<?php echo $v['ordersn']?></span>
        </h4>

        <table>
            <thead>
            <tr>
                <th colspan="3">订单号： <?php echo $v['ordersn']?>&nbsp;
                </th>
            </tr>
            </thead>
            <tbody>
            <tr>
                <td class="order-list-goods">
                    <?php foreach($v['array'] as $j){?>
                    <ul>
                        <li class="order-list-img">
                            <img src="<?php echo substr(strrchr($j['img'], '|'),1)?>">
                        </li>
                        <li class="order-list-title">
                            <a href="/index.php?C=Index&F=goods_msg&id=<?php echo $j['g_id']?>">
                                <?php echo $j['name']?> | 规格:<?php echo $j['gname']?>
                            </a>
                            <br>
                            <?php echo $j['money']?>                               </li>
                        <li>
                            <?php echo $j['num']?>                                     </li>
                    </ul>
                    <?php }?>
                </td>
                <td class="order-list-pay">
                    ￥<?php echo $v['money']?>             </td>

                <td>
                    <span style="color:red">
                        <?php if($v['stat']==1){echo '未付款';}else if($v['stat']=='2'){echo '待发货';}else if($v['stat']==4){echo '待收货';}elseif($v['stat']==5){echo '完成';}elseif($v['stat']==6){echo '退款中';}elseif($v['stat']==7){echo '退款完成';}?>
                    </span>
                </td>
            </tr>
            </tbody>
        </table>
        <div class="row od-section-foot">
            <div style="display: none" id="dialog-modal"></div>
            <div class="delivery-time border-bottom">
                <h5>
                    收货人信息 </h5>
                <p>收货人姓名：<?php echo $v['path']['name']?></p>
                <p>详细地址：<?php echo $v['path']['sheng'].$v['path']['shi'].$v['path']['qu'].$v['path']['txt']?></p>
                <p>手机：<?php echo $v['path']['phone']?></p>
            </div>
            <div class="delivery-time">
                <h5>支付方式</h5>
                <p><?php echo $v['pay']?></p>
            </div>
        </div>
    </div>

</div>
<?php $this->_Hfooter()?>